package pikes.peak;

import pikes.ecma.FormattingScriptPrinter;
import pikes.ecma.SyntaxTreeVisitor;

public interface ScriptFormattingConfiguration {

	ScriptFormattingConfiguration SIMPLE = new ScriptFormattingConfiguration() {

		/**
		 * Creates a simple XMWriter object
		 */
		public SyntaxTreeVisitor createScriptSyntaxVisitor(Appendable appendable) {
			return new FormattingScriptPrinter(appendable);
		}

	};

	SyntaxTreeVisitor createScriptSyntaxVisitor(Appendable appendable);
}
